package com.qimei.onerice.dao;

import com.qimei.onerice.entity.Customer;

import java.util.List;

public interface CustomerDao {

	int addCustomer(Customer customer);

	Customer customerLogin(String username, String password);

	Customer getCustomerById(int customerId);

	List<Customer> getAllCustomers();

	int updateCustomer(Customer customer);

	int deleteCustomer(int customerId);

	boolean isCustomerExists(String username, String email, String phone);
}
